Platform Explorer / Nuxeo Platform 2021.58

Operation Video.ExtractClosedCaptions (Extracts closed captions from the video.)

Description

Extracts the closed captions from the whole video or from a part of it when startAt and end time is provided. The output format references how the output is generated, and xpath can be used to indicate the video blob when using documents.
Operation id Video.ExtractClosedCaptions
Category Conversion
Label Extracts closed captions from the video.
Requires
Since

Parameters

Name Description Type Required Default value
endAt string no  
outFormat string no ttxt, srt, txt 
startAt string no  
xpath string no  

Signature

Inputs blob, bloblist, document, documents
Outputs blob, bloblist, blob, bloblist

Implementation Information

Implementation Class Class: org.nuxeo.ecm.platform.video.tools.operations.ExtractClosedCaptionsFromVideo
Contributing Component org.nuxeo.ecm.video.tools.operations

JSON Definition

{
  "id" : "Video.ExtractClosedCaptions",
  "label" : "Extracts closed captions from the video.",
  "category" : "Conversion",
  "requires" : null,
  "description" : "Extracts the closed captions from the whole video or from a part of it when startAt and end time is provided. The output format references how the output is generated, and xpath can be used to indicate the video blob when using documents.",
  "url" : "Video.ExtractClosedCaptions",
  "signature" : [ "blob", "blob", "bloblist", "bloblist", "document", "blob", "documents", "bloblist" ],
  "params" : [ {
    "name" : "endAt",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "outFormat",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "ttxt", "srt", "txt" ]
  }, {
    "name" : "startAt",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "xpath",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}